package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishDto;

public interface DishService extends IService<Dish> {
     DishDto getWithFlavor(Long id) ;


    void saveWithFlavor(DishDto dto);

    Page<DishDto> pageByName(int page, int pageSize, String name);

    void updateWithFlavor(DishDto dto);
}
